package com.jxx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.experimental.Accessors;

@JsonIgnoreProperties(ignoreUnknown=true) //表示JSON转化时忽略未知属性
@TableName("category")
@Data
@Accessors(chain=true)
public class Category extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer categoryId;     //分类编号
    private String categoryName;    //分类名称
}
